//
//  WriteEmailView.h
//  OASystem
//
//  Created by macos on 14-4-17.
//  Copyright (c) 2014年 macos. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MacroDefinition.h"
#import "SendHttpOperation.h"
#import "SelectReceiverList.h"

@protocol BackUpateData <NSObject>

- (void)backUpdata;

@end

@interface WriteEmailView : UIViewController<UIScrollViewDelegate,UITextViewDelegate,UITextFieldDelegate,UIAlertViewDelegate,SendMailProtocol,AddDraftMailProtocol,GetUserListProtocol,PassReceiverProtocol,DelDraftMailProtocol>
{
    NSArray               *tempSelectArr;
    NSString              *toUserIdStr;  //收件人id字符串
    NSString              *toUserNameStr;//收件人名单字符串
    
    IBOutlet UILabel      *labelAddScroll;
    IBOutlet UIScrollView *receiveListSroll;
    IBOutlet UITextField  *mainTitleTextField;
    IBOutlet UIImageView  *textFieldBackImage;
    IBOutlet UITextView   *contentTextView;
    IBOutlet UIImageView  *textViewBackImage;
}

@property(nonatomic, strong) NSArray *draftDic;
@property(nonatomic, assign) int boolDraft;

@property(nonatomic, assign) id<BackUpateData> delegate;

@end
